<div class="container-fluid">
	<style>
		#pad-wrapper label{
			cursor: default;
			width: 30%;
		}
	</style>
	<div id="pad-wrapper">
		<div class="table-wrapper products-table section">
			<div class="row-fluid head">
				<div class="span12">
					<h4>样本详情</h4>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>订单号：<?php echo $sampleinfo['order_no'] ?></label>
					<label>样本号：<?php echo  $sampleinfo['bind_no'] ?></label>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>回寄快递公司：<?php if(isset( $expressD['company_name'] )){ echo $expressD['company_name'];} ?></label>
					<label>回寄快递单号：<?php if(isset( $expressD['tracking_no'] )){ echo $expressD['tracking_no'];} ?></label>
				</div>
			</div>
			<?php if($sampleinfo['bind_status'] >=3 ){ ?>
			<div class="row-fluid head">
				<div class="span12">
					<label>姓名：<?php if(isset( $Data['info_name'] )){ echo $Data['info_name'];} ?></label>
					<label>性别：<?php if(isset( $Data['info_sex'] )){ echo $Data['info_sex'];} ?></label>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>出生日期：<?php if(isset( $Data['info_birthday'] )){echo $Data['info_birthday'];} ?></label>
					<label>身高：<?php if(isset( $Data['info_height'] )){echo $Data['info_height'];} ?></label>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>体重：<?php if(isset( $Data['info_weight'] )){echo $Data['info_weight'];} ?></label>
					<label>BMI：<?php if(isset( $Data['info_bmi'] )){echo $Data['info_bmi'];} ?></label>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>所在地区：<?php if(isset( $Data['adderssStr'] )){echo $Data['adderssStr'];} ?></label>
					<label>饮食偏好：<?php if(isset( $Data['info_food'] )){echo $Data['info_food'];} ?></label>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>职业：<?php if(isset( $Data['info_career'] )){echo $Data['info_career'];} ?></label>
					<label>运动爱好：<?php if(isset( $Data['info_sport'] )){echo $Data['info_sport'];} ?></label>
				</div>
			</div>
			<div class="row-fluid head">
				<div class="span12">
					<label>生理期：<?php if(isset( $Data['info_period'] )){echo $Data['info_period'];} ?></label>
					<label>疾病：<?php if(isset( $Data['info_disease'] )){echo $Data['info_disease'];} ?></label>
				</div>
			</div>
			<?php } ?>
		</div>
		<!-- end products table -->
	</div>
	<?php if($sampleinfo['bind_status'] ==5 || $sampleinfo['bind_status'] ==6 ){ ?>
	<div class="row-fluid">
		<table class="table table-hover">
			<thead>
			<tr>
				<!-- <th class="span3"><input type="checkbox" /> 头像</th> -->
				<th class="span1"><span class="line"></span>基因</th>
				<th class="span2"><span class="line"></span>指数</th>
				<th class="span2"><span class="line"></span>解读概述</th>
			</tr>
			</thead>
			<!-- row -->
			<tr class="first">
				<td class="order_no">运动效果基因</td>
				<td class="product_num"><?php echo $reportinfo['report_1_value']?></td>
				<td class="pay_status"><?php echo $reportinfo['report_1_text'] ?></td>
			</tr>
			<tr class="first">
				<td class="order_no">食欲食量基因</td>
				<td class="product_num"><?php echo $reportinfo['report_2_value']?></td>
				<td class="pay_status"><?php echo $reportinfo['report_2_text'] ?></td>
			</tr>
			<tr class="first">
				<td class="order_no">油糖饮食偏好基因</td>
				<td class="product_num"><?php echo $reportinfo['report_3_value']?></td>
				<td class="pay_status"><?php echo $reportinfo['report_3_text'] ?></td>
			</tr>
			<tr class="first">
				<td class="order_no">脂肪合成与分解基因</td>
				<td class="product_num"><?php echo $reportinfo['report_4_value']?></td>
				<td class="pay_status"><?php echo $reportinfo['report_4_text'] ?></td>
			</tr>
			<tr class="first">
				<td class="order_no">糖脂代谢基因</td>
				<td class="product_num"><?php echo $reportinfo['report_5_value']?></td>
				<td class="pay_status"><?php echo $reportinfo['report_5_text'] ?></td>
			</tr>
		</table>
	</div>
	<form action="/sample/save" method="post">
		<input type="hidden" name="product_id" value="<?php echo $product_id?>">
		<input type="hidden" name="bind_no" value="<?php echo $bind_no?>">
		<input type="hidden" name="user_id" value="<?php echo $user_id?>">
		<input type="hidden" name="bind_id" value="<?php echo $bind_id?>">

		综合解读:<br>
		<div>
			<textarea name="report_mixed_summary"  id="report_mixed_summary"  cols=800 rows=10 style="width: 50%"><?php echo empty($reportinfo['report_mixed_summary'])? '' : $reportinfo['report_mixed_summary']?></textarea>
		</div>
		<br>
		<input type="submit" value="提交" /> <input type="button" value="预览" onclick="yl()" />
	</form>

	<iframe  border="3" name="report" id="report" src="/report/report?bind_no=<?php echo $bind_no?>" frameborder="false" scrolling="auto" style="border:none;" width="500" height="900" allowtransparency="true"></iframe>
	<?php } ?>
	<style>
		h4{
			padding-bottom:25px;
		}
		label{
			display:inline-block;
			margin-right:10px;
			margin-left:20px;
			vertical-align:middle;
		}
		.disabled,.disabled:hover{
			background-color:#e6e6e6 !important;
			border:1px solid #e6e6e6 !important;
			color:gray;
		}
	</style>

	<script type="text/javascript">
		$(function () {
			<!--表格标题点击排序-->
			$("#express").click(function () {
				$("#express_div").show()//显
				$("#express").html(" 确认 ")//显
			});
		});

		function yl(){
			var report_mixed_summary=$("#report_mixed_summary").val();
			$("#report").contents().find("#r2-1").text(report_mixed_summary);
		}
	</script>
</div>


